<template>
  <div class="update-password">
      <input-group>
        <ec-input 
          type="text" 
          label="旧密码" 
          placeholder="请输入当前密码">
        </ec-input>
        <ec-input 
          type="password" 
          label="新密码" 
          placeholder="至少6位以上">
        </ec-input>
      </input-group>
      <button-group>
        <ec-button text="确认修改"></ec-button>
      </button-group>
  </div>
</template>

<script>

// custom comopnents
import Input from '@/components/Input';
import InputGroup from '@/components/InputGroup';
import ButtonGroup from '@/components/ButtonGroup';
import Button from '@/components/Button';

export default {
  name: 'update-password',
  components: {
    'EcInput': Input,
    'EcButton': Button,
    InputGroup,
    ButtonGroup
  }
};
</script>


<style lang="scss" scope>
  @import '../../assets/style/config';
  @import '../../assets/style/mixins/common';
  .ec-button{
    margin-top:1.6rem;
  }
</style>
